var mongoose = require("../../mong/mongo.js");
Schema = mongoose.Schema;
const MusicListSchema = new Schema({
  singer:{
    type: String,
    text: true
  },
  music_name: {
    type: String,
    text: true
  },
  music_lrc:{
    type: String,
  },
  file_type:{
    type: String,
  },
  path: {
    type: String,
  },
  original: {
    type: String,
    text: true
  },
  index:{
    type: Number,
    unique: true,
    index: true
  }
});
module.exports = mongoose.model("music_list", MusicListSchema);
